<div id="xuanting">
    <div class="xt-title"><span>导航</span></div>
    <ul>
        @foreach($category as $first)
            <li><a class="cate_a" href="#category{{$first['id']}}">{{$first['name_mobile']}}</a></li>
        @endforeach
        <li class="last">
            <a href="javascript:;" class="last_a back-top">顶部<img src="{{config('mall.pc_assets')}}/images/cometop.png" alt="" /></a>
        </li>
    </ul>
</div>